package com.zd.shopping.app;

import com.baidu.mapapi.SDKInitializer;
import com.zwz.mall.app.BaseApplication;
import com.zwz.mall.config.Config;


/**
 * Created by Administrator on 2019/7/8 0008.
 */

public class MyApp extends BaseApplication
{

    public boolean mIsStart = false;

    @Override
    public String getHost()
    {
        return Config.contans.getServerAddress();
    }

    @Override
    public void onCreate()
    {
        super.onCreate();
        //在使用SDK各组件之前初始化context信息，传入ApplicationContext
        SDKInitializer.initialize(this);
        //Bugly
        //        CrashReport.initCrashReport(getApplicationContext(), "注册时申请的APPID", false);

    }

    @Override
    public void onTerminate()
    {
        super.onTerminate();

    }
}
